<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员首页 - 论坛系统</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8f9fa;
            min-height: 100vh;
        }

        .header {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 30px 0;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header h1 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 16px;
            opacity: 0.9;
        }

        .container {
            max-width: 800px;
            margin: 50px auto;
            padding: 0 20px;
        }

        .admin-menu {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .menu-header {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            padding: 25px;
            text-align: center;
        }

        .menu-header h2 {
            font-size: 24px;
            font-weight: 600;
        }

        .menu-list {
            list-style: none;
            padding: 0;
        }

        .menu-item {
            border-bottom: 1px solid #ecf0f1;
        }

        .menu-item:last-child {
            border-bottom: none;
        }

        .menu-link {
            display: flex;
            align-items: center;
            padding: 20px 25px;
            text-decoration: none;
            color: #2c3e50;
            transition: all 0.3s ease;
            position: relative;
        }

        .menu-link:hover {
            background: #f8f9fa;
            color: #3498db;
            transform: translateX(5px);
        }

        .menu-icon {
            font-size: 24px;
            margin-right: 15px;
            width: 40px;
            text-align: center;
        }

        .menu-text {
            flex: 1;
        }

        .menu-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .menu-description {
            font-size: 14px;
            color: #7f8c8d;
        }

        .menu-arrow {
            font-size: 16px;
            color: #bdc3c7;
            transition: transform 0.3s ease;
        }

        .menu-link:hover .menu-arrow {
            transform: translateX(5px);
            color: #3498db;
        }

        .home-link {
            text-align: center;
            margin-top: 30px;
        }

        .home-btn {
            display: inline-block;
            padding: 12px 30px;
            background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: transform 0.3s ease;
        }

        .home-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(149, 165, 166, 0.4);
        }

        @media (max-width: 768px) {
            .container {
                margin: 30px auto;
                padding: 0 15px;
            }

            .menu-link {
                padding: 15px 20px;
            }

            .menu-icon {
                font-size: 20px;
                margin-right: 12px;
                width: 35px;
            }

            .menu-title {
                font-size: 16px;
            }

            .menu-description {
                font-size: 13px;
            }
        }
    </style>
</head>
<body>
<div class="header">
    <h1>🛡️ 管理员控制台</h1>
    <p>论坛系统管理中心</p>
</div>

<div class="container">
    <div class="admin-menu">
        <div class="menu-header">
            <h2>管理功能</h2>
        </div>

        <ul class="menu-list">
            <li class="menu-item">
                <a href="/admin/reports" class="menu-link">
                    <div class="menu-icon">🚨</div>
                    <div class="menu-text">
                        <div class="menu-title">查看举报</div>
                        <div class="menu-description">处理用户举报的内容和问题</div>
                    </div>
                    <div class="menu-arrow">→</div>
                </a>
            </li>
        </ul>
    </div>

    <div class="home-link">
        <a href="/" class="home-btn">返回首页</a>
    </div>
</div>
</body>
</html>
